<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions"prefix="fn" %>
<div class="category" id="lable_info1">
<c:choose>
	<c:when test="${fn:length(lableInfoList) >10}">
		<c:forEach items="${lableInfoList}" var="lableInfo" varStatus="item" >
			<c:if test="${item.index < 10}">
				<a class="tag" href="javascript:commodity.lableOnclick('${lableInfo.labelName}')">${lableInfo.labelName}</a>
			</c:if>
		</c:forEach>	
		<a class="tag" href="javascript:commodity.loadAllLable()">更多......</a> 
	</c:when>
	<c:otherwise>
		<c:forEach items="${lableInfoList}" var="lableInfo" varStatus="item" >
			<a class="tag" href="javascript:commodity.lableOnclick('${lableInfo.labelName}')">${lableInfo.labelName}</a>
		</c:forEach>
	</c:otherwise>
</c:choose>
</div>

<div class="category" id="lable_info2" style="display:none;">
	<c:forEach items="${lableInfoList}" var="lableInfo" varStatus="item" >
		<a class="tag" href="javascript:commodity.lableOnclick('${lableInfo.labelName}')">${lableInfo.labelName}</a>
	</c:forEach>
</div>

		